{{#each toolbarItems as | item |}}
    {
    {{#eq item.itemType 'SEPERATOR'}}
        name: '{{name}}',
        itemType: 'SEPERATOR',
    {{else}}
        name: "{{item.name}}",
        ctrlname: "{{contextMenu.name}}",
        nodeOwner: "{{node.nodeType}}",
        caption: "{{item.caption}}",
        showCaption: {{item.showCaption}},
        showIcon: {{item.showIcon}},
        tooltip: "{{item.tooltip}}",
        {{#if item.psUIAction}}
        {{#item.psUIAction}}
        uiAction: {
            actionTag: "{{uIActionTag}}",	
            actionTarget: "{{actionTarget}}",
            dataAccessAction: "{{dataAccessAction}}",
            noPrivDisplayMode: "{{noPrivDisplayMode}}",
            visible: true,
            disabled: false,            
            uIActionMode: "{{uIActionMode}}",
            uIActionType: "{{uIActionType}}",
            actionDECodeName: "{{#if psAppDataEntity}}{{psAppDataEntity.codeName}}{{/if}}",
            predefinedType: "{{predefinedType}}",            
        },        
        {{/item.psUIAction}}
        {{/if}}
        {{#if item.psSysImage}}
        {{#if item.psSysImage.cssClass}}
        cssClass: "{{item.psSysImage.cssClass}}",
        {{else}}
        imagePath: "{{item.psSysImage.imagePath}}",
        {{/if}}
        {{/if}}
        {{#if (and (eq item.itemType "ITEMS") item.psDEContextMenuItems)}}
        items: [
            {{> @macro/widgets/tree-detail/tree-node-context-menu.hbs toolbarItems=item.psDEContextMenuItems}}
        ]
        {{/if}}
    }{{#unless @last}},{{/unless}}
    {{/eq}}
{{/each}}